mvebu: usb: xhci: Add VBUS regulator supply to the host driver
authorKonstantin Porotchkin <[email protected]>
Sun, 12 Feb 2017 09:10:30 +0000 (11:10 +0200)
committerStefan Roese <[email protected]>
Wed, 29 Mar 2017 05:38:08 +0000 (07:38 +0200)
commit137b1883e756f60ef4b1e1720dafcbf7d76d87c5
tree9cf02f88151b946788d5e27e34ca156c68314e37
parente562e51ee2cf82383aa60aea49f81753529c0433
mvebu: usb: xhci: Add VBUS regulator supply to the host driver

The USB device should linked to VBUS regulator through "vbus-supply"
DTS property.
This patch adds handling for "vbus-supply" property inside the USB
device entry for turning on the VBUS regulator upon the host adapter probe.

Signed-off-by: Konstantin Porotchkin <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Nadav Haklai <[email protected]>
Cc: Neta Zur Hershkovits <[email protected]>
Cc: Igal Liberman <[email protected]>
Cc: Haim Boot <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
doc/device-tree-bindings/usb/marvell.xhci-usb.txt [new file with mode: 0644]
drivers/usb/host/Kconfig
drivers/usb/host/xhci-mvebu.c